﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BC.Membership
{
    public class UserBC
    {
        public static BE.Security.Login.UsuarioBE Login(string usuario, string password)
        {
            try
            {
                return new BE.Security.Login.UsuarioBE()
                {
                    sUserName = usuario,
                    sPassword = password
                }.GetUserId();
            }
            catch (Exception ex)
            {
                throw new Exception("BC.Membership - Login - ", ex);
            }
        }
    }
}
